/*
 * @Author: scopesang
 * @Date: 2022-04-08 14:49:23
 * @LastEditors: scopesang
 * @LastEditTime: 2022-04-08 14:49:35
 * @FilePath: \cms-manage\src\pages\MyIndex.jsx
 * @Description: 
 * 
 * Copyright (c) 2022 by scopesang/大鹏科技, All Rights Reserved. 
 */
import React, { Component } from 'react'

export default class MyIndex extends Component {
    render() {
        return (
            <div>
                <ul>
                    <li><a href="/home">首页</a></li>
                    <li><a href="/detail">详情页</a></li>
                </ul>
                {/* 用于显示下方的路由插槽内容 */}
                <div className="box">{this.props.children}</div>
            </div>
        )
    }
}
